package com.wnxy.admin;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.amqp.rabbit.annotation.EnableRabbit;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import org.springframework.scheduling.annotation.EnableScheduling;

@EnableTransactionManagement
@EnableAspectJAutoProxy
@SpringBootApplication
@ServletComponentScan
@MapperScan
@EnableCaching //缓存注解
@EnableRabbit
@EnableScheduling
public class AdminApplication {
    public static void main(String[] args) {
        SpringApplication.run(AdminApplication.class, args);
        System.out.println("  __");
        System.out.println("<(o )___");
        System.out.println(" (   ._>   ");
        System.out.println("  `---' ");
    }
}
